export default {
	changeCity (state, cityName) {
		console.log(cityName,"<====mutations====改变共有数据")
		state.city = cityName
		try {
			// 某些浏览器 没有html5的 本地存储
		    localStorage.city = cityName
		} catch (e) {}
	}
}